#include <stdio.h>

/*
 * 运算符 -
 */

int main()
{
	int a, b, c;

	c = a - b;
	printf("%x\n", c);

	c = c - 10;
	printf("%x\n", c);

	return 0;
}

#if 0

/*
 * intel
 */
0000000000001149 <main>:
    1149:	f3 0f 1e fa          	endbr64 
    114d:	55                   	push   %rbp
    114e:	48 89 e5             	mov    %rsp,%rbp
    1151:	48 83 ec 10          	sub    $0x10,%rsp
    1155:	8b 45 f4             	mov    -0xc(%rbp),%eax	// eax=(rbp-0xc)
    1158:	2b 45 f8             	sub    -0x8(%rbp),%eax	// eax-=(rbp-0x8)
    115b:	89 45 fc             	mov    %eax,-0x4(%rbp)	// (rbp-0x4)=eax
    115e:	8b 45 fc             	mov    -0x4(%rbp),%eax	// eax=(rbp-0x4)
    1161:	89 c6                	mov    %eax,%esi	// esi=eax
    1163:	48 8d 3d 9a 0e 00 00 	lea    0xe9a(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    116a:	b8 00 00 00 00       	mov    $0x0,%eax
    116f:	e8 dc fe ff ff       	callq  1050 <printf@plt>
    1174:	83 6d fc 0a          	subl   $0xa,-0x4(%rbp)	// (rbp-0x4)-=0xa
    1178:	8b 45 fc             	mov    -0x4(%rbp),%eax	// eax=(rbp-0x4)
    117b:	89 c6                	mov    %eax,%esi	// esi=eax
    117d:	48 8d 3d 80 0e 00 00 	lea    0xe80(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    1184:	b8 00 00 00 00       	mov    $0x0,%eax
    1189:	e8 c2 fe ff ff       	callq  1050 <printf@plt>
    118e:	b8 00 00 00 00       	mov    $0x0,%eax
    1193:	c9                   	leaveq 
    1194:	c3                   	retq   
    1195:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
    119c:	00 00 00 
    119f:	90                   	nop

/*
 * arm
 */
000000000040055c <main>:
  40055c:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  400560:	910003fd 	mov	x29, sp
  400564:	b9401fa1 	ldr	w1, [x29, #28]	// w1=[x29+28]
  400568:	b9401ba0 	ldr	w0, [x29, #24]	// w0=[x29+24]
  40056c:	4b000020 	sub	w0, w1, w0	// w0=w1-w0
  400570:	b90017a0 	str	w0, [x29, #20]	// [x29+20]=w0
  400574:	90000000 	adrp	x0, 400000 <_init-0x3e8>
  400578:	91198000 	add	x0, x0, #0x660
  40057c:	b94017a1 	ldr	w1, [x29, #20]	// w1=[x29+20]
  400580:	97ffffb4 	bl	400450 <printf@plt>
  400584:	b94017a0 	ldr	w0, [x29, #20]	// w0=[x29+20]
  400588:	51002800 	sub	w0, w0, #0xa	// w0=w0-0xa
  40058c:	b90017a0 	str	w0, [x29, #20]	// [x29+20]=w0
  400590:	90000000 	adrp	x0, 400000 <_init-0x3e8>
  400594:	91198000 	add	x0, x0, #0x660
  400598:	b94017a1 	ldr	w1, [x29, #20]	// w1=[x29+20]
  40059c:	97ffffad 	bl	400450 <printf@plt>
  4005a0:	52800000 	mov	w0, #0x0                   	// #0
  4005a4:	a8c27bfd 	ldp	x29, x30, [sp], #32
  4005a8:	d65f03c0 	ret
  4005ac:	00000000 	.inst	0x00000000 ; undefined

#endif
